package com.un.ebs.product.dto;

import com.un.ebs.product.domain.ProductImage;
import com.un.ebs.product.domain.ProductSkuAttrValueExt;
import com.un.ebs.product.domain.ProductSkuExt;
import com.un.ebs.product.domain.ProductSkuItemExt;
import lombok.Data;

import java.util.List;

/**
 * @author liubo
 * @email liubocs@163.com
 * @date 2020/2/28 23:09
 */
@Data
public class ProductSkuVo extends ProductSkuExt {

    private List<ProductSkuAttrValueExt> attrValues;

    private List<ProductImage> images;

    private List<ProductSkuItemExt> skuItem;

    private String purchaseTypeDesc = super.getPurchaseType() != null ? super.getPurchaseType().getDesc() : null;
}
